package com.coffee.order.api.inquire.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.inquire.query.InquireBuyerConfirmPlanQuery;
import com.coffee.order.api.inquire.result.InquireBuyerConfirmPlanResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface InquireBuyerConfirmPlanService {

	Page<InquireBuyerConfirmPlanResult> getPager(InquireBuyerConfirmPlanQuery param, PagerInfo pr);
	
	Integer count(InquireBuyerConfirmPlanQuery param);
	
	InquireBuyerConfirmPlanResult getDetail(Integer id);
	
	List<InquireBuyerConfirmPlanResult> getList(InquireBuyerConfirmPlanQuery param, PagerInfo pr);
	
	List<InquireBuyerConfirmPlanResult> getList(InquireBuyerConfirmPlanQuery param);
	
	List<InquireBuyerConfirmPlanResult> getList();

	void delete(Integer id);

	void addOrUpdate(InquireBuyerConfirmPlanResult result)throws BusinessException;
	
	Map<Integer,InquireBuyerConfirmPlanResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,InquireBuyerConfirmPlanResult> getItemMap();
	
}